//
//  XAxisView.h
//  ZXT
//
//  Created by 张逸阳 on 2017/8/16.
//  Copyright © 2017年 dr. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XAxisView : UIView
@property (assign, nonatomic) CGFloat pointGap;//手指滑动 每点之间的距离
@property (assign,nonatomic)BOOL isShowLabel;//是否显示文字
@property (assign,nonatomic)BOOL isLongPress;//是不是长按状态
@property (assign, nonatomic) CGPoint currentLoc; //长按时当前定位位置
@property (assign, nonatomic) CGPoint screenLoc; //相对于屏幕位置

@property (strong, nonatomic) NSArray *yValueArrayA;
@property (strong, nonatomic) NSArray *yValueArrayB;

- (instancetype)initWithFrame:(CGRect)frame xTitleArray:(NSArray*)xTitleArray yValueArray:(NSArray*)yValueArray yMax:(CGFloat)yMax yMin:(CGFloat)yMin;
@end

